package me.zingon.db;

public abstract class TableDaoFactory {
	
	public static ITableDao createTableDao(String driver) {
		switch (driver) {
			case "com.mysql.jdbc.Driver": return new TableDao();
			case "oracle.jdbc.driver.OracleDriver": return new OracleTableDao();
		}
		return null;
	}

}
